package com.example.administrator.customview;

import android.app.FragmentManager;
import android.app.FragmentTransaction;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.Window;

import fragment.FileManagerVideoList;
import fragment.FilemanagerFileList;

public class MainActivity extends AppCompatActivity {


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.activity_main);

        FileManagerVideoList videoList = new FileManagerVideoList();
        FilemanagerFileList fileList = new FilemanagerFileList();

        FragmentManager manager = getFragmentManager();
        FragmentTransaction transaction = manager.beginTransaction();
        transaction.replace(R.id.contaner, videoList, FileManagerVideoList.TAG);
        transaction.commit();
    }
}
